{
 "cells": [
  {
   "cell_type": "code",
   "execution_count": 3,
   "id": "5680ef08",
   "metadata": {},
   "outputs": [],
   "source": [
    "astr=\"\"\"\n",
    "算法模型\tMA\t0.978\t0\t0.012\t0\t0\t0\t0.01\n",
    "算法模型\tMS_EKS\t0.95\t0\t0\t0\t0\t0.048\t0.002\n",
    "算法模型\tMS_gateway\t0.981\t0\t0\t0\t0\t0.019\t0\n",
    "算法模型\tSpark\t0.75\t0\t0.13\t0\t0\t0.12\t0\n",
    "算法模型\tFlink\t0.75\t0\t0.13\t0\t0\t0.12\t0\n",
    "算法模型\tGPU\t0.323\t0\t0\t0\t0\t0.677\t0\n",
    "算法模型\t其他\t0.74\t0\t0.13\t0\t0\t0.13\t0\n",
    "算法模型\tkafka\t0.88\t0\t0.06\t0\t0\t0.06\t0\n",
    "算法模型\tS3\t0.88\t0\t0.06\t0\t0\t0.06\t0\n",
    "算法模型\tRedis\t1\t0\t0\t0\t0\t0\t0\n",
    "算法模型\tShareStore\t0.646\t0\t0.306\t0\t0\t0.048\t0\n",
    "\"\"\".strip()"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 5,
   "id": "04480eb4",
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "算法模型\tMA\t0.978\t0\t0.012\t0\t0\t0\t0.01\n",
      "算法模型\tMS_EKS\t0.95\t0\t0\t0\t0\t0.048\t0.002\n",
      "算法模型\tMS_gateway\t0.981\t0\t0\t0\t0\t0.019\t0\n",
      "算法模型\tSpark\t0.75\t0\t0.13\t0\t0\t0.12\t0\n",
      "算法模型\tFlink\t0.75\t0\t0.13\t0\t0\t0.12\t0\n",
      "算法模型\tGPU\t0.323\t0\t0\t0\t0\t0.677\t0\n",
      "算法模型\t其他\t0.74\t0\t0.13\t0\t0\t0.13\t0\n",
      "算法模型\tkafka\t0.88\t0\t0.06\t0\t0\t0.06\t0\n",
      "算法模型\tS3\t0.88\t0\t0.06\t0\t0\t0.06\t0\n",
      "算法模型\tRedis\t1\t0\t0\t0\t0\t0\t0\n",
      "算法模型\tShareStore\t0.646\t0\t0.306\t0\t0\t0.048\t0\n"
     ]
    }
   ],
   "source": [
    "for line in astr.split('\\n'):\n",
    "    print(line)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 8,
   "id": "0f4515c6",
   "metadata": {},
   "outputs": [],
   "source": [
    "from datetime import datetime,timedelta\n",
    "dt=datetime.strptime('2022-10-08','%Y-%m-%d')"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 9,
   "id": "6bebabed",
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "datetime.datetime(2022, 10, 7, 0, 0)"
      ]
     },
     "execution_count": 9,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "dt+timedelta(days=-1)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 10,
   "id": "3db37356",
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "'2022-10-08'"
      ]
     },
     "execution_count": 10,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "dt.strftime('%Y-%m-%d')"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 11,
   "id": "261049ed",
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "'2022-10-07'"
      ]
     },
     "execution_count": 11,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "(dt+timedelta(days=-1)).strftime('%Y-%m-%d')"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 13,
   "id": "2346b64a",
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "2022-09-01\n",
      "2022-09-02\n",
      "2022-09-03\n",
      "2022-09-04\n",
      "2022-09-05\n",
      "2022-09-06\n",
      "2022-09-07\n",
      "2022-09-08\n",
      "2022-09-09\n",
      "2022-09-10\n",
      "2022-09-11\n",
      "2022-09-12\n",
      "2022-09-13\n",
      "2022-09-14\n",
      "2022-09-15\n",
      "2022-09-16\n",
      "2022-09-17\n",
      "2022-09-18\n",
      "2022-09-19\n",
      "2022-09-20\n",
      "2022-09-21\n",
      "2022-09-22\n",
      "2022-09-23\n",
      "2022-09-24\n",
      "2022-09-25\n",
      "2022-09-26\n",
      "2022-09-27\n",
      "2022-09-28\n",
      "2022-09-29\n",
      "2022-09-30\n"
     ]
    }
   ],
   "source": [
    "start_datetime=dt=datetime.strptime('2022-09-01','%Y-%m-%d')\n",
    "for i in range(0,30):\n",
    "    print((start_datetime++timedelta(days=i)).strftime('%Y-%m-%d'))\n",
    "    "
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 14,
   "id": "fa9a7aef",
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "2022-09-01\t算法模型\tMA\t0.978\t0\t0.012\t0\t0\t0\t0.01\n",
      "2022-09-01\t算法模型\tMS_EKS\t0.95\t0\t0\t0\t0\t0.048\t0.002\n",
      "2022-09-01\t算法模型\tMS_gateway\t0.981\t0\t0\t0\t0\t0.019\t0\n",
      "2022-09-01\t算法模型\tSpark\t0.75\t0\t0.13\t0\t0\t0.12\t0\n",
      "2022-09-01\t算法模型\tFlink\t0.75\t0\t0.13\t0\t0\t0.12\t0\n",
      "2022-09-01\t算法模型\tGPU\t0.323\t0\t0\t0\t0\t0.677\t0\n",
      "2022-09-01\t算法模型\t其他\t0.74\t0\t0.13\t0\t0\t0.13\t0\n",
      "2022-09-01\t算法模型\tkafka\t0.88\t0\t0.06\t0\t0\t0.06\t0\n",
      "2022-09-01\t算法模型\tS3\t0.88\t0\t0.06\t0\t0\t0.06\t0\n",
      "2022-09-01\t算法模型\tRedis\t1\t0\t0\t0\t0\t0\t0\n",
      "2022-09-01\t算法模型\tShareStore\t0.646\t0\t0.306\t0\t0\t0.048\t0\n",
      "2022-09-02\t算法模型\tMA\t0.978\t0\t0.012\t0\t0\t0\t0.01\n",
      "2022-09-02\t算法模型\tMS_EKS\t0.95\t0\t0\t0\t0\t0.048\t0.002\n",
      "2022-09-02\t算法模型\tMS_gateway\t0.981\t0\t0\t0\t0\t0.019\t0\n",
      "2022-09-02\t算法模型\tSpark\t0.75\t0\t0.13\t0\t0\t0.12\t0\n",
      "2022-09-02\t算法模型\tFlink\t0.75\t0\t0.13\t0\t0\t0.12\t0\n",
      "2022-09-02\t算法模型\tGPU\t0.323\t0\t0\t0\t0\t0.677\t0\n",
      "2022-09-02\t算法模型\t其他\t0.74\t0\t0.13\t0\t0\t0.13\t0\n",
      "2022-09-02\t算法模型\tkafka\t0.88\t0\t0.06\t0\t0\t0.06\t0\n",
      "2022-09-02\t算法模型\tS3\t0.88\t0\t0.06\t0\t0\t0.06\t0\n",
      "2022-09-02\t算法模型\tRedis\t1\t0\t0\t0\t0\t0\t0\n",
      "2022-09-02\t算法模型\tShareStore\t0.646\t0\t0.306\t0\t0\t0.048\t0\n",
      "2022-09-03\t算法模型\tMA\t0.978\t0\t0.012\t0\t0\t0\t0.01\n",
      "2022-09-03\t算法模型\tMS_EKS\t0.95\t0\t0\t0\t0\t0.048\t0.002\n",
      "2022-09-03\t算法模型\tMS_gateway\t0.981\t0\t0\t0\t0\t0.019\t0\n",
      "2022-09-03\t算法模型\tSpark\t0.75\t0\t0.13\t0\t0\t0.12\t0\n",
      "2022-09-03\t算法模型\tFlink\t0.75\t0\t0.13\t0\t0\t0.12\t0\n",
      "2022-09-03\t算法模型\tGPU\t0.323\t0\t0\t0\t0\t0.677\t0\n",
      "2022-09-03\t算法模型\t其他\t0.74\t0\t0.13\t0\t0\t0.13\t0\n",
      "2022-09-03\t算法模型\tkafka\t0.88\t0\t0.06\t0\t0\t0.06\t0\n",
      "2022-09-03\t算法模型\tS3\t0.88\t0\t0.06\t0\t0\t0.06\t0\n",
      "2022-09-03\t算法模型\tRedis\t1\t0\t0\t0\t0\t0\t0\n",
      "2022-09-03\t算法模型\tShareStore\t0.646\t0\t0.306\t0\t0\t0.048\t0\n",
      "2022-09-04\t算法模型\tMA\t0.978\t0\t0.012\t0\t0\t0\t0.01\n",
      "2022-09-04\t算法模型\tMS_EKS\t0.95\t0\t0\t0\t0\t0.048\t0.002\n",
      "2022-09-04\t算法模型\tMS_gateway\t0.981\t0\t0\t0\t0\t0.019\t0\n",
      "2022-09-04\t算法模型\tSpark\t0.75\t0\t0.13\t0\t0\t0.12\t0\n",
      "2022-09-04\t算法模型\tFlink\t0.75\t0\t0.13\t0\t0\t0.12\t0\n",
      "2022-09-04\t算法模型\tGPU\t0.323\t0\t0\t0\t0\t0.677\t0\n",
      "2022-09-04\t算法模型\t其他\t0.74\t0\t0.13\t0\t0\t0.13\t0\n",
      "2022-09-04\t算法模型\tkafka\t0.88\t0\t0.06\t0\t0\t0.06\t0\n",
      "2022-09-04\t算法模型\tS3\t0.88\t0\t0.06\t0\t0\t0.06\t0\n",
      "2022-09-04\t算法模型\tRedis\t1\t0\t0\t0\t0\t0\t0\n",
      "2022-09-04\t算法模型\tShareStore\t0.646\t0\t0.306\t0\t0\t0.048\t0\n",
      "2022-09-05\t算法模型\tMA\t0.978\t0\t0.012\t0\t0\t0\t0.01\n",
      "2022-09-05\t算法模型\tMS_EKS\t0.95\t0\t0\t0\t0\t0.048\t0.002\n",
      "2022-09-05\t算法模型\tMS_gateway\t0.981\t0\t0\t0\t0\t0.019\t0\n",
      "2022-09-05\t算法模型\tSpark\t0.75\t0\t0.13\t0\t0\t0.12\t0\n",
      "2022-09-05\t算法模型\tFlink\t0.75\t0\t0.13\t0\t0\t0.12\t0\n",
      "2022-09-05\t算法模型\tGPU\t0.323\t0\t0\t0\t0\t0.677\t0\n",
      "2022-09-05\t算法模型\t其他\t0.74\t0\t0.13\t0\t0\t0.13\t0\n",
      "2022-09-05\t算法模型\tkafka\t0.88\t0\t0.06\t0\t0\t0.06\t0\n",
      "2022-09-05\t算法模型\tS3\t0.88\t0\t0.06\t0\t0\t0.06\t0\n",
      "2022-09-05\t算法模型\tRedis\t1\t0\t0\t0\t0\t0\t0\n",
      "2022-09-05\t算法模型\tShareStore\t0.646\t0\t0.306\t0\t0\t0.048\t0\n",
      "2022-09-06\t算法模型\tMA\t0.978\t0\t0.012\t0\t0\t0\t0.01\n",
      "2022-09-06\t算法模型\tMS_EKS\t0.95\t0\t0\t0\t0\t0.048\t0.002\n",
      "2022-09-06\t算法模型\tMS_gateway\t0.981\t0\t0\t0\t0\t0.019\t0\n",
      "2022-09-06\t算法模型\tSpark\t0.75\t0\t0.13\t0\t0\t0.12\t0\n",
      "2022-09-06\t算法模型\tFlink\t0.75\t0\t0.13\t0\t0\t0.12\t0\n",
      "2022-09-06\t算法模型\tGPU\t0.323\t0\t0\t0\t0\t0.677\t0\n",
      "2022-09-06\t算法模型\t其他\t0.74\t0\t0.13\t0\t0\t0.13\t0\n",
      "2022-09-06\t算法模型\tkafka\t0.88\t0\t0.06\t0\t0\t0.06\t0\n",
      "2022-09-06\t算法模型\tS3\t0.88\t0\t0.06\t0\t0\t0.06\t0\n",
      "2022-09-06\t算法模型\tRedis\t1\t0\t0\t0\t0\t0\t0\n",
      "2022-09-06\t算法模型\tShareStore\t0.646\t0\t0.306\t0\t0\t0.048\t0\n",
      "2022-09-07\t算法模型\tMA\t0.978\t0\t0.012\t0\t0\t0\t0.01\n",
      "2022-09-07\t算法模型\tMS_EKS\t0.95\t0\t0\t0\t0\t0.048\t0.002\n",
      "2022-09-07\t算法模型\tMS_gateway\t0.981\t0\t0\t0\t0\t0.019\t0\n",
      "2022-09-07\t算法模型\tSpark\t0.75\t0\t0.13\t0\t0\t0.12\t0\n",
      "2022-09-07\t算法模型\tFlink\t0.75\t0\t0.13\t0\t0\t0.12\t0\n",
      "2022-09-07\t算法模型\tGPU\t0.323\t0\t0\t0\t0\t0.677\t0\n",
      "2022-09-07\t算法模型\t其他\t0.74\t0\t0.13\t0\t0\t0.13\t0\n",
      "2022-09-07\t算法模型\tkafka\t0.88\t0\t0.06\t0\t0\t0.06\t0\n",
      "2022-09-07\t算法模型\tS3\t0.88\t0\t0.06\t0\t0\t0.06\t0\n",
      "2022-09-07\t算法模型\tRedis\t1\t0\t0\t0\t0\t0\t0\n",
      "2022-09-07\t算法模型\tShareStore\t0.646\t0\t0.306\t0\t0\t0.048\t0\n",
      "2022-09-08\t算法模型\tMA\t0.978\t0\t0.012\t0\t0\t0\t0.01\n",
      "2022-09-08\t算法模型\tMS_EKS\t0.95\t0\t0\t0\t0\t0.048\t0.002\n",
      "2022-09-08\t算法模型\tMS_gateway\t0.981\t0\t0\t0\t0\t0.019\t0\n",
      "2022-09-08\t算法模型\tSpark\t0.75\t0\t0.13\t0\t0\t0.12\t0\n",
      "2022-09-08\t算法模型\tFlink\t0.75\t0\t0.13\t0\t0\t0.12\t0\n",
      "2022-09-08\t算法模型\tGPU\t0.323\t0\t0\t0\t0\t0.677\t0\n",
      "2022-09-08\t算法模型\t其他\t0.74\t0\t0.13\t0\t0\t0.13\t0\n",
      "2022-09-08\t算法模型\tkafka\t0.88\t0\t0.06\t0\t0\t0.06\t0\n",
      "2022-09-08\t算法模型\tS3\t0.88\t0\t0.06\t0\t0\t0.06\t0\n",
      "2022-09-08\t算法模型\tRedis\t1\t0\t0\t0\t0\t0\t0\n",
      "2022-09-08\t算法模型\tShareStore\t0.646\t0\t0.306\t0\t0\t0.048\t0\n",
      "2022-09-09\t算法模型\tMA\t0.978\t0\t0.012\t0\t0\t0\t0.01\n",
      "2022-09-09\t算法模型\tMS_EKS\t0.95\t0\t0\t0\t0\t0.048\t0.002\n",
      "2022-09-09\t算法模型\tMS_gateway\t0.981\t0\t0\t0\t0\t0.019\t0\n",
      "2022-09-09\t算法模型\tSpark\t0.75\t0\t0.13\t0\t0\t0.12\t0\n",
      "2022-09-09\t算法模型\tFlink\t0.75\t0\t0.13\t0\t0\t0.12\t0\n",
      "2022-09-09\t算法模型\tGPU\t0.323\t0\t0\t0\t0\t0.677\t0\n",
      "2022-09-09\t算法模型\t其他\t0.74\t0\t0.13\t0\t0\t0.13\t0\n",
      "2022-09-09\t算法模型\tkafka\t0.88\t0\t0.06\t0\t0\t0.06\t0\n",
      "2022-09-09\t算法模型\tS3\t0.88\t0\t0.06\t0\t0\t0.06\t0\n",
      "2022-09-09\t算法模型\tRedis\t1\t0\t0\t0\t0\t0\t0\n",
      "2022-09-09\t算法模型\tShareStore\t0.646\t0\t0.306\t0\t0\t0.048\t0\n",
      "2022-09-10\t算法模型\tMA\t0.978\t0\t0.012\t0\t0\t0\t0.01\n",
      "2022-09-10\t算法模型\tMS_EKS\t0.95\t0\t0\t0\t0\t0.048\t0.002\n",
      "2022-09-10\t算法模型\tMS_gateway\t0.981\t0\t0\t0\t0\t0.019\t0\n",
      "2022-09-10\t算法模型\tSpark\t0.75\t0\t0.13\t0\t0\t0.12\t0\n",
      "2022-09-10\t算法模型\tFlink\t0.75\t0\t0.13\t0\t0\t0.12\t0\n",
      "2022-09-10\t算法模型\tGPU\t0.323\t0\t0\t0\t0\t0.677\t0\n",
      "2022-09-10\t算法模型\t其他\t0.74\t0\t0.13\t0\t0\t0.13\t0\n",
      "2022-09-10\t算法模型\tkafka\t0.88\t0\t0.06\t0\t0\t0.06\t0\n",
      "2022-09-10\t算法模型\tS3\t0.88\t0\t0.06\t0\t0\t0.06\t0\n",
      "2022-09-10\t算法模型\tRedis\t1\t0\t0\t0\t0\t0\t0\n",
      "2022-09-10\t算法模型\tShareStore\t0.646\t0\t0.306\t0\t0\t0.048\t0\n",
      "2022-09-11\t算法模型\tMA\t0.978\t0\t0.012\t0\t0\t0\t0.01\n",
      "2022-09-11\t算法模型\tMS_EKS\t0.95\t0\t0\t0\t0\t0.048\t0.002\n",
      "2022-09-11\t算法模型\tMS_gateway\t0.981\t0\t0\t0\t0\t0.019\t0\n",
      "2022-09-11\t算法模型\tSpark\t0.75\t0\t0.13\t0\t0\t0.12\t0\n",
      "2022-09-11\t算法模型\tFlink\t0.75\t0\t0.13\t0\t0\t0.12\t0\n",
      "2022-09-11\t算法模型\tGPU\t0.323\t0\t0\t0\t0\t0.677\t0\n",
      "2022-09-11\t算法模型\t其他\t0.74\t0\t0.13\t0\t0\t0.13\t0\n",
      "2022-09-11\t算法模型\tkafka\t0.88\t0\t0.06\t0\t0\t0.06\t0\n",
      "2022-09-11\t算法模型\tS3\t0.88\t0\t0.06\t0\t0\t0.06\t0\n",
      "2022-09-11\t算法模型\tRedis\t1\t0\t0\t0\t0\t0\t0\n",
      "2022-09-11\t算法模型\tShareStore\t0.646\t0\t0.306\t0\t0\t0.048\t0\n",
      "2022-09-12\t算法模型\tMA\t0.978\t0\t0.012\t0\t0\t0\t0.01\n",
      "2022-09-12\t算法模型\tMS_EKS\t0.95\t0\t0\t0\t0\t0.048\t0.002\n",
      "2022-09-12\t算法模型\tMS_gateway\t0.981\t0\t0\t0\t0\t0.019\t0\n",
      "2022-09-12\t算法模型\tSpark\t0.75\t0\t0.13\t0\t0\t0.12\t0\n",
      "2022-09-12\t算法模型\tFlink\t0.75\t0\t0.13\t0\t0\t0.12\t0\n",
      "2022-09-12\t算法模型\tGPU\t0.323\t0\t0\t0\t0\t0.677\t0\n",
      "2022-09-12\t算法模型\t其他\t0.74\t0\t0.13\t0\t0\t0.13\t0\n",
      "2022-09-12\t算法模型\tkafka\t0.88\t0\t0.06\t0\t0\t0.06\t0\n",
      "2022-09-12\t算法模型\tS3\t0.88\t0\t0.06\t0\t0\t0.06\t0\n",
      "2022-09-12\t算法模型\tRedis\t1\t0\t0\t0\t0\t0\t0\n",
      "2022-09-12\t算法模型\tShareStore\t0.646\t0\t0.306\t0\t0\t0.048\t0\n",
      "2022-09-13\t算法模型\tMA\t0.978\t0\t0.012\t0\t0\t0\t0.01\n",
      "2022-09-13\t算法模型\tMS_EKS\t0.95\t0\t0\t0\t0\t0.048\t0.002\n",
      "2022-09-13\t算法模型\tMS_gateway\t0.981\t0\t0\t0\t0\t0.019\t0\n",
      "2022-09-13\t算法模型\tSpark\t0.75\t0\t0.13\t0\t0\t0.12\t0\n",
      "2022-09-13\t算法模型\tFlink\t0.75\t0\t0.13\t0\t0\t0.12\t0\n",
      "2022-09-13\t算法模型\tGPU\t0.323\t0\t0\t0\t0\t0.677\t0\n",
      "2022-09-13\t算法模型\t其他\t0.74\t0\t0.13\t0\t0\t0.13\t0\n",
      "2022-09-13\t算法模型\tkafka\t0.88\t0\t0.06\t0\t0\t0.06\t0\n",
      "2022-09-13\t算法模型\tS3\t0.88\t0\t0.06\t0\t0\t0.06\t0\n",
      "2022-09-13\t算法模型\tRedis\t1\t0\t0\t0\t0\t0\t0\n",
      "2022-09-13\t算法模型\tShareStore\t0.646\t0\t0.306\t0\t0\t0.048\t0\n",
      "2022-09-14\t算法模型\tMA\t0.978\t0\t0.012\t0\t0\t0\t0.01\n",
      "2022-09-14\t算法模型\tMS_EKS\t0.95\t0\t0\t0\t0\t0.048\t0.002\n",
      "2022-09-14\t算法模型\tMS_gateway\t0.981\t0\t0\t0\t0\t0.019\t0\n",
      "2022-09-14\t算法模型\tSpark\t0.75\t0\t0.13\t0\t0\t0.12\t0\n",
      "2022-09-14\t算法模型\tFlink\t0.75\t0\t0.13\t0\t0\t0.12\t0\n",
      "2022-09-14\t算法模型\tGPU\t0.323\t0\t0\t0\t0\t0.677\t0\n",
      "2022-09-14\t算法模型\t其他\t0.74\t0\t0.13\t0\t0\t0.13\t0\n",
      "2022-09-14\t算法模型\tkafka\t0.88\t0\t0.06\t0\t0\t0.06\t0\n",
      "2022-09-14\t算法模型\tS3\t0.88\t0\t0.06\t0\t0\t0.06\t0\n",
      "2022-09-14\t算法模型\tRedis\t1\t0\t0\t0\t0\t0\t0\n",
      "2022-09-14\t算法模型\tShareStore\t0.646\t0\t0.306\t0\t0\t0.048\t0\n",
      "2022-09-15\t算法模型\tMA\t0.978\t0\t0.012\t0\t0\t0\t0.01\n",
      "2022-09-15\t算法模型\tMS_EKS\t0.95\t0\t0\t0\t0\t0.048\t0.002\n",
      "2022-09-15\t算法模型\tMS_gateway\t0.981\t0\t0\t0\t0\t0.019\t0\n",
      "2022-09-15\t算法模型\tSpark\t0.75\t0\t0.13\t0\t0\t0.12\t0\n",
      "2022-09-15\t算法模型\tFlink\t0.75\t0\t0.13\t0\t0\t0.12\t0\n",
      "2022-09-15\t算法模型\tGPU\t0.323\t0\t0\t0\t0\t0.677\t0\n",
      "2022-09-15\t算法模型\t其他\t0.74\t0\t0.13\t0\t0\t0.13\t0\n",
      "2022-09-15\t算法模型\tkafka\t0.88\t0\t0.06\t0\t0\t0.06\t0\n",
      "2022-09-15\t算法模型\tS3\t0.88\t0\t0.06\t0\t0\t0.06\t0\n",
      "2022-09-15\t算法模型\tRedis\t1\t0\t0\t0\t0\t0\t0\n",
      "2022-09-15\t算法模型\tShareStore\t0.646\t0\t0.306\t0\t0\t0.048\t0\n",
      "2022-09-16\t算法模型\tMA\t0.978\t0\t0.012\t0\t0\t0\t0.01\n",
      "2022-09-16\t算法模型\tMS_EKS\t0.95\t0\t0\t0\t0\t0.048\t0.002\n",
      "2022-09-16\t算法模型\tMS_gateway\t0.981\t0\t0\t0\t0\t0.019\t0\n",
      "2022-09-16\t算法模型\tSpark\t0.75\t0\t0.13\t0\t0\t0.12\t0\n",
      "2022-09-16\t算法模型\tFlink\t0.75\t0\t0.13\t0\t0\t0.12\t0\n",
      "2022-09-16\t算法模型\tGPU\t0.323\t0\t0\t0\t0\t0.677\t0\n",
      "2022-09-16\t算法模型\t其他\t0.74\t0\t0.13\t0\t0\t0.13\t0\n",
      "2022-09-16\t算法模型\tkafka\t0.88\t0\t0.06\t0\t0\t0.06\t0\n",
      "2022-09-16\t算法模型\tS3\t0.88\t0\t0.06\t0\t0\t0.06\t0\n",
      "2022-09-16\t算法模型\tRedis\t1\t0\t0\t0\t0\t0\t0\n",
      "2022-09-16\t算法模型\tShareStore\t0.646\t0\t0.306\t0\t0\t0.048\t0\n",
      "2022-09-17\t算法模型\tMA\t0.978\t0\t0.012\t0\t0\t0\t0.01\n",
      "2022-09-17\t算法模型\tMS_EKS\t0.95\t0\t0\t0\t0\t0.048\t0.002\n",
      "2022-09-17\t算法模型\tMS_gateway\t0.981\t0\t0\t0\t0\t0.019\t0\n",
      "2022-09-17\t算法模型\tSpark\t0.75\t0\t0.13\t0\t0\t0.12\t0\n",
      "2022-09-17\t算法模型\tFlink\t0.75\t0\t0.13\t0\t0\t0.12\t0\n",
      "2022-09-17\t算法模型\tGPU\t0.323\t0\t0\t0\t0\t0.677\t0\n",
      "2022-09-17\t算法模型\t其他\t0.74\t0\t0.13\t0\t0\t0.13\t0\n",
      "2022-09-17\t算法模型\tkafka\t0.88\t0\t0.06\t0\t0\t0.06\t0\n",
      "2022-09-17\t算法模型\tS3\t0.88\t0\t0.06\t0\t0\t0.06\t0\n",
      "2022-09-17\t算法模型\tRedis\t1\t0\t0\t0\t0\t0\t0\n",
      "2022-09-17\t算法模型\tShareStore\t0.646\t0\t0.306\t0\t0\t0.048\t0\n",
      "2022-09-18\t算法模型\tMA\t0.978\t0\t0.012\t0\t0\t0\t0.01\n",
      "2022-09-18\t算法模型\tMS_EKS\t0.95\t0\t0\t0\t0\t0.048\t0.002\n",
      "2022-09-18\t算法模型\tMS_gateway\t0.981\t0\t0\t0\t0\t0.019\t0\n",
      "2022-09-18\t算法模型\tSpark\t0.75\t0\t0.13\t0\t0\t0.12\t0\n",
      "2022-09-18\t算法模型\tFlink\t0.75\t0\t0.13\t0\t0\t0.12\t0\n",
      "2022-09-18\t算法模型\tGPU\t0.323\t0\t0\t0\t0\t0.677\t0\n",
      "2022-09-18\t算法模型\t其他\t0.74\t0\t0.13\t0\t0\t0.13\t0\n",
      "2022-09-18\t算法模型\tkafka\t0.88\t0\t0.06\t0\t0\t0.06\t0\n",
      "2022-09-18\t算法模型\tS3\t0.88\t0\t0.06\t0\t0\t0.06\t0\n",
      "2022-09-18\t算法模型\tRedis\t1\t0\t0\t0\t0\t0\t0\n",
      "2022-09-18\t算法模型\tShareStore\t0.646\t0\t0.306\t0\t0\t0.048\t0\n",
      "2022-09-19\t算法模型\tMA\t0.978\t0\t0.012\t0\t0\t0\t0.01\n",
      "2022-09-19\t算法模型\tMS_EKS\t0.95\t0\t0\t0\t0\t0.048\t0.002\n",
      "2022-09-19\t算法模型\tMS_gateway\t0.981\t0\t0\t0\t0\t0.019\t0\n",
      "2022-09-19\t算法模型\tSpark\t0.75\t0\t0.13\t0\t0\t0.12\t0\n",
      "2022-09-19\t算法模型\tFlink\t0.75\t0\t0.13\t0\t0\t0.12\t0\n",
      "2022-09-19\t算法模型\tGPU\t0.323\t0\t0\t0\t0\t0.677\t0\n",
      "2022-09-19\t算法模型\t其他\t0.74\t0\t0.13\t0\t0\t0.13\t0\n",
      "2022-09-19\t算法模型\tkafka\t0.88\t0\t0.06\t0\t0\t0.06\t0\n",
      "2022-09-19\t算法模型\tS3\t0.88\t0\t0.06\t0\t0\t0.06\t0\n",
      "2022-09-19\t算法模型\tRedis\t1\t0\t0\t0\t0\t0\t0\n",
      "2022-09-19\t算法模型\tShareStore\t0.646\t0\t0.306\t0\t0\t0.048\t0\n",
      "2022-09-20\t算法模型\tMA\t0.978\t0\t0.012\t0\t0\t0\t0.01\n",
      "2022-09-20\t算法模型\tMS_EKS\t0.95\t0\t0\t0\t0\t0.048\t0.002\n",
      "2022-09-20\t算法模型\tMS_gateway\t0.981\t0\t0\t0\t0\t0.019\t0\n",
      "2022-09-20\t算法模型\tSpark\t0.75\t0\t0.13\t0\t0\t0.12\t0\n",
      "2022-09-20\t算法模型\tFlink\t0.75\t0\t0.13\t0\t0\t0.12\t0\n",
      "2022-09-20\t算法模型\tGPU\t0.323\t0\t0\t0\t0\t0.677\t0\n",
      "2022-09-20\t算法模型\t其他\t0.74\t0\t0.13\t0\t0\t0.13\t0\n",
      "2022-09-20\t算法模型\tkafka\t0.88\t0\t0.06\t0\t0\t0.06\t0\n",
      "2022-09-20\t算法模型\tS3\t0.88\t0\t0.06\t0\t0\t0.06\t0\n",
      "2022-09-20\t算法模型\tRedis\t1\t0\t0\t0\t0\t0\t0\n",
      "2022-09-20\t算法模型\tShareStore\t0.646\t0\t0.306\t0\t0\t0.048\t0\n",
      "2022-09-21\t算法模型\tMA\t0.978\t0\t0.012\t0\t0\t0\t0.01\n",
      "2022-09-21\t算法模型\tMS_EKS\t0.95\t0\t0\t0\t0\t0.048\t0.002\n",
      "2022-09-21\t算法模型\tMS_gateway\t0.981\t0\t0\t0\t0\t0.019\t0\n",
      "2022-09-21\t算法模型\tSpark\t0.75\t0\t0.13\t0\t0\t0.12\t0\n",
      "2022-09-21\t算法模型\tFlink\t0.75\t0\t0.13\t0\t0\t0.12\t0\n",
      "2022-09-21\t算法模型\tGPU\t0.323\t0\t0\t0\t0\t0.677\t0\n",
      "2022-09-21\t算法模型\t其他\t0.74\t0\t0.13\t0\t0\t0.13\t0\n",
      "2022-09-21\t算法模型\tkafka\t0.88\t0\t0.06\t0\t0\t0.06\t0\n",
      "2022-09-21\t算法模型\tS3\t0.88\t0\t0.06\t0\t0\t0.06\t0\n",
      "2022-09-21\t算法模型\tRedis\t1\t0\t0\t0\t0\t0\t0\n",
      "2022-09-21\t算法模型\tShareStore\t0.646\t0\t0.306\t0\t0\t0.048\t0\n",
      "2022-09-22\t算法模型\tMA\t0.978\t0\t0.012\t0\t0\t0\t0.01\n",
      "2022-09-22\t算法模型\tMS_EKS\t0.95\t0\t0\t0\t0\t0.048\t0.002\n",
      "2022-09-22\t算法模型\tMS_gateway\t0.981\t0\t0\t0\t0\t0.019\t0\n",
      "2022-09-22\t算法模型\tSpark\t0.75\t0\t0.13\t0\t0\t0.12\t0\n",
      "2022-09-22\t算法模型\tFlink\t0.75\t0\t0.13\t0\t0\t0.12\t0\n",
      "2022-09-22\t算法模型\tGPU\t0.323\t0\t0\t0\t0\t0.677\t0\n",
      "2022-09-22\t算法模型\t其他\t0.74\t0\t0.13\t0\t0\t0.13\t0\n",
      "2022-09-22\t算法模型\tkafka\t0.88\t0\t0.06\t0\t0\t0.06\t0\n",
      "2022-09-22\t算法模型\tS3\t0.88\t0\t0.06\t0\t0\t0.06\t0\n",
      "2022-09-22\t算法模型\tRedis\t1\t0\t0\t0\t0\t0\t0\n",
      "2022-09-22\t算法模型\tShareStore\t0.646\t0\t0.306\t0\t0\t0.048\t0\n",
      "2022-09-23\t算法模型\tMA\t0.978\t0\t0.012\t0\t0\t0\t0.01\n",
      "2022-09-23\t算法模型\tMS_EKS\t0.95\t0\t0\t0\t0\t0.048\t0.002\n",
      "2022-09-23\t算法模型\tMS_gateway\t0.981\t0\t0\t0\t0\t0.019\t0\n",
      "2022-09-23\t算法模型\tSpark\t0.75\t0\t0.13\t0\t0\t0.12\t0\n",
      "2022-09-23\t算法模型\tFlink\t0.75\t0\t0.13\t0\t0\t0.12\t0\n",
      "2022-09-23\t算法模型\tGPU\t0.323\t0\t0\t0\t0\t0.677\t0\n",
      "2022-09-23\t算法模型\t其他\t0.74\t0\t0.13\t0\t0\t0.13\t0\n",
      "2022-09-23\t算法模型\tkafka\t0.88\t0\t0.06\t0\t0\t0.06\t0\n",
      "2022-09-23\t算法模型\tS3\t0.88\t0\t0.06\t0\t0\t0.06\t0\n",
      "2022-09-23\t算法模型\tRedis\t1\t0\t0\t0\t0\t0\t0\n",
      "2022-09-23\t算法模型\tShareStore\t0.646\t0\t0.306\t0\t0\t0.048\t0\n",
      "2022-09-24\t算法模型\tMA\t0.978\t0\t0.012\t0\t0\t0\t0.01\n",
      "2022-09-24\t算法模型\tMS_EKS\t0.95\t0\t0\t0\t0\t0.048\t0.002\n",
      "2022-09-24\t算法模型\tMS_gateway\t0.981\t0\t0\t0\t0\t0.019\t0\n",
      "2022-09-24\t算法模型\tSpark\t0.75\t0\t0.13\t0\t0\t0.12\t0\n",
      "2022-09-24\t算法模型\tFlink\t0.75\t0\t0.13\t0\t0\t0.12\t0\n",
      "2022-09-24\t算法模型\tGPU\t0.323\t0\t0\t0\t0\t0.677\t0\n",
      "2022-09-24\t算法模型\t其他\t0.74\t0\t0.13\t0\t0\t0.13\t0\n",
      "2022-09-24\t算法模型\tkafka\t0.88\t0\t0.06\t0\t0\t0.06\t0\n",
      "2022-09-24\t算法模型\tS3\t0.88\t0\t0.06\t0\t0\t0.06\t0\n",
      "2022-09-24\t算法模型\tRedis\t1\t0\t0\t0\t0\t0\t0\n",
      "2022-09-24\t算法模型\tShareStore\t0.646\t0\t0.306\t0\t0\t0.048\t0\n",
      "2022-09-25\t算法模型\tMA\t0.978\t0\t0.012\t0\t0\t0\t0.01\n",
      "2022-09-25\t算法模型\tMS_EKS\t0.95\t0\t0\t0\t0\t0.048\t0.002\n",
      "2022-09-25\t算法模型\tMS_gateway\t0.981\t0\t0\t0\t0\t0.019\t0\n",
      "2022-09-25\t算法模型\tSpark\t0.75\t0\t0.13\t0\t0\t0.12\t0\n",
      "2022-09-25\t算法模型\tFlink\t0.75\t0\t0.13\t0\t0\t0.12\t0\n",
      "2022-09-25\t算法模型\tGPU\t0.323\t0\t0\t0\t0\t0.677\t0\n",
      "2022-09-25\t算法模型\t其他\t0.74\t0\t0.13\t0\t0\t0.13\t0\n",
      "2022-09-25\t算法模型\tkafka\t0.88\t0\t0.06\t0\t0\t0.06\t0\n",
      "2022-09-25\t算法模型\tS3\t0.88\t0\t0.06\t0\t0\t0.06\t0\n",
      "2022-09-25\t算法模型\tRedis\t1\t0\t0\t0\t0\t0\t0\n",
      "2022-09-25\t算法模型\tShareStore\t0.646\t0\t0.306\t0\t0\t0.048\t0\n",
      "2022-09-26\t算法模型\tMA\t0.978\t0\t0.012\t0\t0\t0\t0.01\n",
      "2022-09-26\t算法模型\tMS_EKS\t0.95\t0\t0\t0\t0\t0.048\t0.002\n",
      "2022-09-26\t算法模型\tMS_gateway\t0.981\t0\t0\t0\t0\t0.019\t0\n",
      "2022-09-26\t算法模型\tSpark\t0.75\t0\t0.13\t0\t0\t0.12\t0\n",
      "2022-09-26\t算法模型\tFlink\t0.75\t0\t0.13\t0\t0\t0.12\t0\n",
      "2022-09-26\t算法模型\tGPU\t0.323\t0\t0\t0\t0\t0.677\t0\n",
      "2022-09-26\t算法模型\t其他\t0.74\t0\t0.13\t0\t0\t0.13\t0\n",
      "2022-09-26\t算法模型\tkafka\t0.88\t0\t0.06\t0\t0\t0.06\t0\n",
      "2022-09-26\t算法模型\tS3\t0.88\t0\t0.06\t0\t0\t0.06\t0\n",
      "2022-09-26\t算法模型\tRedis\t1\t0\t0\t0\t0\t0\t0\n",
      "2022-09-26\t算法模型\tShareStore\t0.646\t0\t0.306\t0\t0\t0.048\t0\n",
      "2022-09-27\t算法模型\tMA\t0.978\t0\t0.012\t0\t0\t0\t0.01\n",
      "2022-09-27\t算法模型\tMS_EKS\t0.95\t0\t0\t0\t0\t0.048\t0.002\n",
      "2022-09-27\t算法模型\tMS_gateway\t0.981\t0\t0\t0\t0\t0.019\t0\n",
      "2022-09-27\t算法模型\tSpark\t0.75\t0\t0.13\t0\t0\t0.12\t0\n",
      "2022-09-27\t算法模型\tFlink\t0.75\t0\t0.13\t0\t0\t0.12\t0\n",
      "2022-09-27\t算法模型\tGPU\t0.323\t0\t0\t0\t0\t0.677\t0\n",
      "2022-09-27\t算法模型\t其他\t0.74\t0\t0.13\t0\t0\t0.13\t0\n",
      "2022-09-27\t算法模型\tkafka\t0.88\t0\t0.06\t0\t0\t0.06\t0\n",
      "2022-09-27\t算法模型\tS3\t0.88\t0\t0.06\t0\t0\t0.06\t0\n",
      "2022-09-27\t算法模型\tRedis\t1\t0\t0\t0\t0\t0\t0\n",
      "2022-09-27\t算法模型\tShareStore\t0.646\t0\t0.306\t0\t0\t0.048\t0\n",
      "2022-09-28\t算法模型\tMA\t0.978\t0\t0.012\t0\t0\t0\t0.01\n",
      "2022-09-28\t算法模型\tMS_EKS\t0.95\t0\t0\t0\t0\t0.048\t0.002\n",
      "2022-09-28\t算法模型\tMS_gateway\t0.981\t0\t0\t0\t0\t0.019\t0\n",
      "2022-09-28\t算法模型\tSpark\t0.75\t0\t0.13\t0\t0\t0.12\t0\n",
      "2022-09-28\t算法模型\tFlink\t0.75\t0\t0.13\t0\t0\t0.12\t0\n",
      "2022-09-28\t算法模型\tGPU\t0.323\t0\t0\t0\t0\t0.677\t0\n",
      "2022-09-28\t算法模型\t其他\t0.74\t0\t0.13\t0\t0\t0.13\t0\n",
      "2022-09-28\t算法模型\tkafka\t0.88\t0\t0.06\t0\t0\t0.06\t0\n",
      "2022-09-28\t算法模型\tS3\t0.88\t0\t0.06\t0\t0\t0.06\t0\n",
      "2022-09-28\t算法模型\tRedis\t1\t0\t0\t0\t0\t0\t0\n",
      "2022-09-28\t算法模型\tShareStore\t0.646\t0\t0.306\t0\t0\t0.048\t0\n",
      "2022-09-29\t算法模型\tMA\t0.978\t0\t0.012\t0\t0\t0\t0.01\n",
      "2022-09-29\t算法模型\tMS_EKS\t0.95\t0\t0\t0\t0\t0.048\t0.002\n",
      "2022-09-29\t算法模型\tMS_gateway\t0.981\t0\t0\t0\t0\t0.019\t0\n",
      "2022-09-29\t算法模型\tSpark\t0.75\t0\t0.13\t0\t0\t0.12\t0\n",
      "2022-09-29\t算法模型\tFlink\t0.75\t0\t0.13\t0\t0\t0.12\t0\n",
      "2022-09-29\t算法模型\tGPU\t0.323\t0\t0\t0\t0\t0.677\t0\n",
      "2022-09-29\t算法模型\t其他\t0.74\t0\t0.13\t0\t0\t0.13\t0\n",
      "2022-09-29\t算法模型\tkafka\t0.88\t0\t0.06\t0\t0\t0.06\t0\n",
      "2022-09-29\t算法模型\tS3\t0.88\t0\t0.06\t0\t0\t0.06\t0\n",
      "2022-09-29\t算法模型\tRedis\t1\t0\t0\t0\t0\t0\t0\n",
      "2022-09-29\t算法模型\tShareStore\t0.646\t0\t0.306\t0\t0\t0.048\t0\n",
      "2022-09-30\t算法模型\tMA\t0.978\t0\t0.012\t0\t0\t0\t0.01\n",
      "2022-09-30\t算法模型\tMS_EKS\t0.95\t0\t0\t0\t0\t0.048\t0.002\n",
      "2022-09-30\t算法模型\tMS_gateway\t0.981\t0\t0\t0\t0\t0.019\t0\n",
      "2022-09-30\t算法模型\tSpark\t0.75\t0\t0.13\t0\t0\t0.12\t0\n",
      "2022-09-30\t算法模型\tFlink\t0.75\t0\t0.13\t0\t0\t0.12\t0\n",
      "2022-09-30\t算法模型\tGPU\t0.323\t0\t0\t0\t0\t0.677\t0\n",
      "2022-09-30\t算法模型\t其他\t0.74\t0\t0.13\t0\t0\t0.13\t0\n",
      "2022-09-30\t算法模型\tkafka\t0.88\t0\t0.06\t0\t0\t0.06\t0\n",
      "2022-09-30\t算法模型\tS3\t0.88\t0\t0.06\t0\t0\t0.06\t0\n",
      "2022-09-30\t算法模型\tRedis\t1\t0\t0\t0\t0\t0\t0\n",
      "2022-09-30\t算法模型\tShareStore\t0.646\t0\t0.306\t0\t0\t0.048\t0\n"
     ]
    }
   ],
   "source": [
    "start_datetime=dt=datetime.strptime('2022-09-01','%Y-%m-%d')\n",
    "for i in range(0,30):\n",
    "    for line in astr.split('\\n'):\n",
    "        print('{}\\t{}'.format((start_datetime++timedelta(days=i)).strftime('%Y-%m-%d'),line))\n",
    "    "
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "id": "97435c94",
   "metadata": {},
   "outputs": [],
   "source": []
  }
 ],
 "metadata": {
  "kernelspec": {
   "display_name": "python",
   "language": "python",
   "name": "python3"
  },
  "language_info": {
   "codemirror_mode": {
    "name": "ipython",
    "version": 3
   },
   "file_extension": ".py",
   "mimetype": "text/x-python",
   "name": "python",
   "nbconvert_exporter": "python",
   "pygments_lexer": "ipython3",
   "version": "3.9.7"
  }
 },
 "nbformat": 4,
 "nbformat_minor": 5
}
